<template>
  <div>
    <MetroHead :headTitle="headTitle"/>
    <h1>无乘车记录</h1>
    <p style="color:#666;">无权限获取所有用户乘车记录</p>
  </div>
</template>

<script>
import MetroHead from '../metrohead/MetroHead.vue'
import { RecordListApi } from '@/service/metro/metroservice'
export default {
  data() {
    return {
      headTitle: '乘车记录',
      allList: []
    }
  },
  methods: {
    async getRecordAllList() {
      let { data } = await RecordListApi()
      console.log(data);
      if(data.code == 200) {
        this.allList = data.data
      }
    }
  },
  created() {
    this.getRecordAllList()
  },
  components: {
    MetroHead
  }
}
</script>

<style>

</style>